package com.rokyinfo.pdm.entity;

import com.baomidou.mybatisplus.activerecord.Model;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;


/**
 * <p>
 * 车厂信息表
 * </p>
 *
 * @author YuanZhiJian
 * @since 2017-01-21
 */
@TableName("d_firm")
public class DFirm extends Model<DFirm> {

    private static final long serialVersionUID = 1L;

	@TableId("firm_id")
	private Long firmId;
    /**
     * 名称
     */
	private String name;
    /**
     * 电话
     */
	private String tel;
    /**
     * 传真
     */
	private String fax;
    /**
     * 邮箱
     */
	private String email;
    /**
     * 地址
     */
	private String address;
    /**
     * 数据同步请求地址
     */
	@TableField("sync_url")
	private String syncUrl;
    /**
     * 创建时间
     */
	@TableField("create_time")
	private Date createTime;


	public Long getFirmId() {
		return firmId;
	}

	public void setFirmId(Long firmId) {
		this.firmId = firmId;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getTel() {
		return tel;
	}

	public void setTel(String tel) {
		this.tel = tel;
	}

	public String getFax() {
		return fax;
	}

	public void setFax(String fax) {
		this.fax = fax;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getSyncUrl() {
		return syncUrl;
	}

	public void setSyncUrl(String syncUrl) {
		this.syncUrl = syncUrl;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	@Override
	protected Serializable pkVal() {
		return this.firmId;
	}

}
